package com.wxd.dataSwitch;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RabbitMqController {

    @Autowired
    private RabbitProducer rabbitProducer;

    @GetMapping("/sendTopicTopicJwd")
    public Object sendTopicTopicAB() {
        //rabbitProducer.sendTopicTopic("jwd",null);
        return "success";
    }

    @GetMapping("/sendTopicTopicKyd")
    public Object sendTopicTopicB() {
        //rabbitProducer.sendTopicTopic();
        return "success";
    }

}